package com.mingda.weathermagiccenter.pojo;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sleepycat.persist.model.PrimaryKey;

import lombok.Data;

/**
 * 项目对象 sdt_project
 * 
 * @author ruoyi
 * @date 2025-06-13
 */
@TableName(value ="sdt_project")
@Data
public class SdtProject implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    @PrimaryKey
    private String id;

    /** 项目名称 */
    @TableField(value = "name")
    private String name;

    /** 地域数据（用,分割） */
    @TableField(value = "areaData")
    private String areaData;

    /** 负责人 */
    @TableField(value = "chargeMan")
    private String chargeMan;

    /** 负责人电话 */
    @TableField(value = "phone")
    private String phone;

    /** 状态（0 未签订合同，1 已签订合同） */
    @TableField(value = "status")
    private String status;

    /** 父节点 */
    @TableField(value = "parentId")
    private String parentId;

    /** 平台（web，android） */
    @TableField(value = "platform")
    private String platform;

    /** $column.columnComment */
    @TableField(value = "f1")
    private String f1;

    /** $column.columnComment */
    @TableField(value = "f2")
    private String f2;

    /** $column.columnComment */
    @TableField(value = "f3")
    private String f3;

    /** $column.columnComment */
    @TableField(value = "f4")
    private String f4;

    /** $column.columnComment */
    @TableField(value = "f5")
    private String f5;

    /** 创建用户 */
    @TableField(value = "cuser")
    private String cuser;

    /** 修改用户 */
    @TableField(value = "uuser")
    private String uuser;

    /** 创建时间 */
    @TableField(value = "ctime")
    private String ctime;

    /** 修改时间 */
    @TableField(value = "utime")
    private String utime;

    /** 有效标志 0为无效 1为有效 */
    @TableField(value = "flag")
    private String flag;

    private String platforms;

    private String areaDatas;

    private String majorDatas;

    private String areaDataCn;

    private String newSchema;

    private String sourceSchema;

    private String targetSchema;

    private String tableName;

    private String schemaName;

    private String dataType;


    private String versionNum;

    private String geoType;

    private String url;

    private String majorId;


    private String ptId;

    private String majorName;

    private String orgType;

    public String getOrgType() {
        return orgType;
    }

    public void setOrgType(String orgType) {
        this.orgType = orgType;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getPtId() {
        return ptId;
    }

    public void setPtId(String ptId) {
        this.ptId = ptId;
    }

    public String getMajorId() {
        return majorId;
    }

    public void setMajorId(String majorId) {
        this.majorId = majorId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getVersionNum() {
        return versionNum;
    }

    public void setVersionNum(String versionNum) {
        this.versionNum = versionNum;
    }

    public String getGeoType() {
        return geoType;
    }

    public void setGeoType(String geoType) {
        this.geoType = geoType;
    }

    public String getSchemaName() {
        return schemaName;
    }

    public void setSchemaName(String schemaName) {
        this.schemaName = schemaName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTargetSchema() {
        return targetSchema;
    }

    public void setTargetSchema(String targetSchema) {
        this.targetSchema = targetSchema;
    }

    public String getSourceSchema() {
        return sourceSchema;
    }

    public void setSourceSchema(String sourceSchema) {
        this.sourceSchema = sourceSchema;
    }

    public String getNewSchema() {
        return newSchema;
    }

    public void setNewSchema(String newSchema) {
        this.newSchema = newSchema;
    }

    public String getAreaDataCn() {
        return areaDataCn;
    }

    public void setAreaDataCn(String areaDataCn) {
        this.areaDataCn = areaDataCn;
    }

    public String getMajorDatas() {
        return majorDatas;
    }

    public void setMajorDatas(String majorDatas) {
        this.majorDatas = majorDatas;
    }

    public String getPlatforms() {
        return platforms;
    }

    public void setPlatforms(String platforms) {
        this.platforms = platforms;
    }

    public String getAreaDatas() {
        return areaDatas;
    }

    public void setAreaDatas(String areaDatas) {
        this.areaDatas = areaDatas;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAreaData(String areaData) 
    {
        this.areaData = areaData;
    }

    public String getAreaData() 
    {
        return areaData;
    }

    public void setChargeMan(String chargeMan) 
    {
        this.chargeMan = chargeMan;
    }

    public String getChargeMan() 
    {
        return chargeMan;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }

    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }

    public void setF1(String f1) 
    {
        this.f1 = f1;
    }

    public String getF1() 
    {
        return f1;
    }

    public void setF2(String f2) 
    {
        this.f2 = f2;
    }

    public String getF2() 
    {
        return f2;
    }

    public void setF3(String f3) 
    {
        this.f3 = f3;
    }

    public String getF3() 
    {
        return f3;
    }

    public void setF4(String f4) 
    {
        this.f4 = f4;
    }

    public String getF4() 
    {
        return f4;
    }

    public void setF5(String f5) 
    {
        this.f5 = f5;
    }

    public String getF5() 
    {
        return f5;
    }

    public void setCuser(String cuser) 
    {
        this.cuser = cuser;
    }

    public String getCuser() 
    {
        return cuser;
    }

    public void setUuser(String uuser) 
    {
        this.uuser = uuser;
    }

    public String getUuser() 
    {
        return uuser;
    }

    public void setCtime(String ctime) 
    {
        this.ctime = ctime;
    }

    public String getCtime() 
    {
        return ctime;
    }

    public void setUtime(String utime) 
    {
        this.utime = utime;
    }

    public String getUtime() 
    {
        return utime;
    }

    public void setFlag(String flag) 
    {
        this.flag = flag;
    }

    public String getFlag() 
    {
        return flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("areaData", getAreaData())
            .append("chargeMan", getChargeMan())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("parentId", getParentId())
            .append("platform", getPlatform())
            .append("f1", getF1())
            .append("f2", getF2())
            .append("f3", getF3())
            .append("f4", getF4())
            .append("f5", getF5())
            .append("cuser", getCuser())
            .append("uuser", getUuser())
            .append("ctime", getCtime())
            .append("utime", getUtime())
            .append("flag", getFlag())
            .toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        SdtProject other = (SdtProject) obj;
        if (id == null) {
            if (other.id != null)
                return false;
        } else if (!id.equals(other.id))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (areaData == null) {
            if (other.areaData != null)
                return false;
        } else if (!areaData.equals(other.areaData))
            return false;
        if (chargeMan == null) {
            if (other.chargeMan != null)
                return false;
        } else if (!chargeMan.equals(other.chargeMan))
            return false;
        if (phone == null) {
            if (other.phone != null)
                return false;
        } else if (!phone.equals(other.phone))
            return false;
        if (status == null) {
            if (other.status != null)
                return false;
        } else if (!status.equals(other.status))
            return false;
        if (parentId == null) {
            if (other.parentId != null)
                return false;
        } else if (!parentId.equals(other.parentId))
            return false;
        if (platform == null) {
            if (other.platform != null)
                return false;
        } else if (!platform.equals(other.platform))
            return false;
        if (f1 == null) {
            if (other.f1 != null)
                return false;
        } else if (!f1.equals(other.f1))
            return false;
        if (f2 == null) {
            if (other.f2 != null)
                return false;
        } else if (!f2.equals(other.f2))
            return false;
        if (f3 == null) {
            if (other.f3 != null)
                return false;
        } else if (!f3.equals(other.f3))
            return false;
        if (f4 == null) {
            if (other.f4 != null)
                return false;
        } else if (!f4.equals(other.f4))
            return false;
        if (f5 == null) {
            if (other.f5 != null)
                return false;
        } else if (!f5.equals(other.f5))
            return false;
        if (cuser == null) {
            if (other.cuser != null)
                return false;
        } else if (!cuser.equals(other.cuser))
            return false;
        if (uuser == null) {
            if (other.uuser != null)
                return false;
        } else if (!uuser.equals(other.uuser))
            return false;
        if (ctime == null) {
            if (other.ctime != null)
                return false;
        } else if (!ctime.equals(other.ctime))
            return false;
        if (utime == null) {
            if (other.utime != null)
                return false;
        } else if (!utime.equals(other.utime))
            return false;
        if (flag == null) {
            if (other.flag != null)
                return false;
        } else if (!flag.equals(other.flag))
            return false;
        if (platforms == null) {
            if (other.platforms != null)
                return false;
        } else if (!platforms.equals(other.platforms))
            return false;
        if (areaDatas == null) {
            if (other.areaDatas != null)
                return false;
        } else if (!areaDatas.equals(other.areaDatas))
            return false;
        if (majorDatas == null) {
            if (other.majorDatas != null)
                return false;
        } else if (!majorDatas.equals(other.majorDatas))
            return false;
        if (areaDataCn == null) {
            if (other.areaDataCn != null)
                return false;
        } else if (!areaDataCn.equals(other.areaDataCn))
            return false;
        if (newSchema == null) {
            if (other.newSchema != null)
                return false;
        } else if (!newSchema.equals(other.newSchema))
            return false;
        if (sourceSchema == null) {
            if (other.sourceSchema != null)
                return false;
        } else if (!sourceSchema.equals(other.sourceSchema))
            return false;
        if (targetSchema == null) {
            if (other.targetSchema != null)
                return false;
        } else if (!targetSchema.equals(other.targetSchema))
            return false;
        if (tableName == null) {
            if (other.tableName != null)
                return false;
        } else if (!tableName.equals(other.tableName))
            return false;
        if (schemaName == null) {
            if (other.schemaName != null)
                return false;
        } else if (!schemaName.equals(other.schemaName))
            return false;
        if (dataType == null) {
            if (other.dataType != null)
                return false;
        } else if (!dataType.equals(other.dataType))
            return false;
        if (versionNum == null) {
            if (other.versionNum != null)
                return false;
        } else if (!versionNum.equals(other.versionNum))
            return false;
        if (geoType == null) {
            if (other.geoType != null)
                return false;
        } else if (!geoType.equals(other.geoType))
            return false;
        if (url == null) {
            if (other.url != null)
                return false;
        } else if (!url.equals(other.url))
            return false;
        if (majorId == null) {
            if (other.majorId != null)
                return false;
        } else if (!majorId.equals(other.majorId))
            return false;
        if (ptId == null) {
            if (other.ptId != null)
                return false;
        } else if (!ptId.equals(other.ptId))
            return false;
        if (majorName == null) {
            if (other.majorName != null)
                return false;
        } else if (!majorName.equals(other.majorName))
            return false;
        if (orgType == null) {
            if (other.orgType != null)
                return false;
        } else if (!orgType.equals(other.orgType))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((id == null) ? 0 : id.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((areaData == null) ? 0 : areaData.hashCode());
        result = prime * result + ((chargeMan == null) ? 0 : chargeMan.hashCode());
        result = prime * result + ((phone == null) ? 0 : phone.hashCode());
        result = prime * result + ((status == null) ? 0 : status.hashCode());
        result = prime * result + ((parentId == null) ? 0 : parentId.hashCode());
        result = prime * result + ((platform == null) ? 0 : platform.hashCode());
        result = prime * result + ((f1 == null) ? 0 : f1.hashCode());
        result = prime * result + ((f2 == null) ? 0 : f2.hashCode());
        result = prime * result + ((f3 == null) ? 0 : f3.hashCode());
        result = prime * result + ((f4 == null) ? 0 : f4.hashCode());
        result = prime * result + ((f5 == null) ? 0 : f5.hashCode());
        result = prime * result + ((cuser == null) ? 0 : cuser.hashCode());
        result = prime * result + ((uuser == null) ? 0 : uuser.hashCode());
        result = prime * result + ((ctime == null) ? 0 : ctime.hashCode());
        result = prime * result + ((utime == null) ? 0 : utime.hashCode());
        result = prime * result + ((flag == null) ? 0 : flag.hashCode());
        result = prime * result + ((platforms == null) ? 0 : platforms.hashCode());
        result = prime * result + ((areaDatas == null) ? 0 : areaDatas.hashCode());
        result = prime * result + ((majorDatas == null) ? 0 : majorDatas.hashCode());
        result = prime * result + ((areaDataCn == null) ? 0 : areaDataCn.hashCode());
        result = prime * result + ((newSchema == null) ? 0 : newSchema.hashCode());
        result = prime * result + ((sourceSchema == null) ? 0 : sourceSchema.hashCode());
        result = prime * result + ((targetSchema == null) ? 0 : targetSchema.hashCode());
        result = prime * result + ((tableName == null) ? 0 : tableName.hashCode());
        result = prime * result + ((schemaName == null) ? 0 : schemaName.hashCode());
        result = prime * result + ((dataType == null) ? 0 : dataType.hashCode());
        result = prime * result + ((versionNum == null) ? 0 : versionNum.hashCode());
        result = prime * result + ((geoType == null) ? 0 : geoType.hashCode());
        result = prime * result + ((url == null) ? 0 : url.hashCode());
        result = prime * result + ((majorId == null) ? 0 : majorId.hashCode());
        result = prime * result + ((ptId == null) ? 0 : ptId.hashCode());
        result = prime * result + ((majorName == null) ? 0 : majorName.hashCode());
        result = prime * result + ((orgType == null) ? 0 : orgType.hashCode());
        return result;
    }
}
